package cn.ztydata.teachingsystem.heaven.web.dto;

/**
 * 用户登录信息
 *
 * @author fanruiping
 * @since 2014-12-02
 */
public class UserDto {
    private Long id;//用户编号
    private String code; //工号
    private String password; //密码
    private int roleId; //角色

    public Long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }
}
